<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="wrap">
    <!--{{}},{{{}}},可以用v-text和v-html代替而且可以防止{{}}闪动-->
    <span>{{text}}</span><br>
    <span>{{{html}}}</span><br>
    <span v-text="text"></span><br>
    <span v-html="html"></span>
</div>
</body>
</html>
<script src="vue.js"></script>
<script type="text/javascript">
    var vm=new Vue({
        el:'#wrap',
        data:{
            text:'texts',
            html:'<strong>html</strong>',
        },
    })

</script>